package com.gr100.biz.app;

import biz.yfsoft.api.ae.AE;
import cn.dreampie.route.config.ConstantLoader;
import cn.dreampie.route.config.HandlerLoader;
import cn.dreampie.route.config.PluginLoader;
import cn.dreampie.route.config.ResourceLoader;
import com.gr100.biz.api.loader.Loader;

/**
 * Created by YFsoft on 16/3/14.
 */
public class Config extends cn.dreampie.route.config.Config {

    @Override
    public void configPlugin(PluginLoader pluginLoader) {
        super.configPlugin(pluginLoader);
        Loader.me().init();
        AE.me().init("609388a15b3dfaca","1292b2d414d45c8f97d44354de24c40c").setMode(AE.MODE_DEV);
    }

    @Override
    public void configConstant(ConstantLoader constantLoader) {
        super.configConstant(constantLoader);
    }

    @Override
    public void configResource(ResourceLoader resourceLoader) {
        resourceLoader.addIncludePackages("com.gr100.biz.app.res");
    }

    @Override
    public void configHandler(HandlerLoader handlerLoader) {
        super.configHandler(handlerLoader);
    }
}
